home *** CD-ROM | disk | FTP | other *** search
- unit NestedSrv_TLB;
-
- // ************************************************************************ //
- // WARNING //
- // ------- //
- // The types declared in this file were generated from data read from a //
- // Type Library. If this type library is explicitly or indirectly (via //
- // another type library referring to this type library) re-imported, or the //
- // 'Refresh' command of the Type Library Editor activated while editing the //
- // Type Library, the contents of this file will be regenerated and all //
- // manual modifications will be lost. //
- // ************************************************************************ //
-
- // PASTLWTR : $Revision: 1.11.1.75 $
- // File generated on 1999/05/05 20:23:17 from Type Library described below.
-
- // ************************************************************************ //
- // Type Lib: D:\USR\BOB\MAGAZINE\DELPHI.MAG\#46\src\NestedSrv.tlb
- // IID\LCID: {D533EFD0-0316-11D3-9317-0080C7C19BE0}\0
- // Helpfile:
- // HelpString: Project1 Library
- // Version: 1.0
- // ************************************************************************ //
-
- interface
-
- uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL;
-
- // *********************************************************************//
- // GUIDS declared in the TypeLibrary. Following prefixes are used: //
- // Type Libraries : LIBID_xxxx //
- // CoClasses : CLASS_xxxx //
- // DISPInterfaces : DIID_xxxx //
- // Non-DISP interfaces: IID_xxxx //
- // *********************************************************************//
- const
- LIBID_NestedSrv: TGUID = '{D533EFD0-0316-11D3-9317-0080C7C19BE0}';
- IID_INestedDataModule: TGUID = '{D533EFD1-0316-11D3-9317-0080C7C19BE0}';
- CLASS_NestedDataModule: TGUID = '{D533EFD3-0316-11D3-9317-0080C7C19BE0}';
- type
-
- // *********************************************************************//
- // Forward declaration of interfaces defined in Type Library //
- // *********************************************************************//
- INestedDataModule = interface;
- INestedDataModuleDisp = dispinterface;
-
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library //
- // (NOTE: Here we map each CoClass to its Default Interface) //
- // *********************************************************************//
- NestedDataModule = INestedDataModule;
-
-
- // *********************************************************************//
- // Interface: INestedDataModule
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {D533EFD1-0316-11D3-9317-0080C7C19BE0}
- // *********************************************************************//
- INestedDataModule = interface(IDataBroker)
- ['{D533EFD1-0316-11D3-9317-0080C7C19BE0}']
- function Get_CustomerOrders: IProvider; safecall;
- property CustomerOrders: IProvider read Get_CustomerOrders;
- end;
-
- // *********************************************************************//
- // DispIntf: INestedDataModuleDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {D533EFD1-0316-11D3-9317-0080C7C19BE0}
- // *********************************************************************//
- INestedDataModuleDisp = dispinterface
- ['{D533EFD1-0316-11D3-9317-0080C7C19BE0}']
- property CustomerOrders: IProvider readonly dispid 1;
- function GetProviderNames: OleVariant; dispid 22929905;
- end;
-
- CoNestedDataModule = class
- class function Create: INestedDataModule;
- class function CreateRemote(const MachineName: string): INestedDataModule;
- end;
-
- implementation
-
- uses ComObj;
-
- class function CoNestedDataModule.Create: INestedDataModule;
- begin
- Result := CreateComObject(CLASS_NestedDataModule) as INestedDataModule;
- end;
-
- class function CoNestedDataModule.CreateRemote(const MachineName: string): INestedDataModule;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_NestedDataModule) as INestedDataModule;
- end;
-
- end.
-